package com.heliming.data.entity;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class User extends BaseEntity {


	@NotNull(message = "姓名不能为空")
	@Size(max=32,message="姓名字段长度超出限制，不能超过32位")
	private String username;
	
	private String password;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	

}
